import request from '@/utils/request'

// 查询质量证书管理列表
export function listNcQualityCertificateManagement(query) {
  return request({
    url: '/business/NcQualityCertificateManagement/list',
    method: 'get',
    params: query
  })
}

// 查询质量证书管理详细
export function getNcQualityCertificateManagement(id) {
  return request({
    url: '/business/NcQualityCertificateManagement/' + id,
    method: 'get'
  })
}

// 新增质量证书管理
export function addNcQualityCertificateManagement(data) {
  return request({
    url: '/business/NcQualityCertificateManagement',
    method: 'post',
    data: data
  })
}

// 修改质量证书管理
export function updateNcQualityCertificateManagement(data) {
  return request({
    url: '/business/NcQualityCertificateManagement',
    method: 'put',
    data: data
  })
}

// 删除质量证书管理
export function delNcQualityCertificateManagement(id) {
  return request({
    url: '/business/NcQualityCertificateManagement/' + id,
    method: 'delete'
  })
}
